package com.bdqn.Short.service;

import com.bdqn.Short.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("sysUserService")
public class SysUserServiceImpl implements SysUserService{
    @Autowired
    private SysUserMapper sysUserMapper;

    @Transactional
    @Override
    public int delete(int id) {
        return sysUserMapper.delete(id);
    }
    @Transactional
    @Override
    public int count(int id) {
        return sysUserMapper.count(id);
    }
    @Transactional
    @Override
    public int deleteRole(int id) {
        return sysUserMapper.deleteRole(id);
    }
}
